package com.ruoyi.campus.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 校区分销商品审核对象 distribution
 * 
 * @author ruoyi
 * @date 2025-06-10
 */
public class Distribution extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分销id */
    @Excel(name = "分销id")
    private Integer distriId;

    /** 商品id */
    @Excel(name = "商品id")
    private Integer goodsId;

    /** 商品源校区 */
    @Excel(name = "商品源校区")
    private Integer sourceCampus;

    /** 分销校区 */
    @Excel(name = "分销校区")
    private Integer disCampus;

    /** 分销申请审核状态 */
    @Excel(name = "分销申请审核状态")
    private Integer applyStatus;

    /** 创建时间 */
    private String createdAt;

    /** 更新时间 */
    private String updatedAt;

    public void setDistriId(Integer distriId) 
    {
        this.distriId = distriId;
    }

    public Integer getDistriId() 
    {
        return distriId;
    }

    public void setGoodsId(Integer goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Integer getGoodsId() 
    {
        return goodsId;
    }

    public void setSourceCampus(Integer sourceCampus) 
    {
        this.sourceCampus = sourceCampus;
    }

    public Integer getSourceCampus() 
    {
        return sourceCampus;
    }

    public void setDisCampus(Integer disCampus) 
    {
        this.disCampus = disCampus;
    }

    public Integer getDisCampus() 
    {
        return disCampus;
    }

    public void setApplyStatus(Integer applyStatus) 
    {
        this.applyStatus = applyStatus;
    }

    public Integer getApplyStatus() 
    {
        return applyStatus;
    }

    public String getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(String createdAt) {
        this.createdAt = createdAt;
    }

    public String getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(String updatedAt) {
        this.updatedAt = updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("distriId", getDistriId())
            .append("goodsId", getGoodsId())
            .append("sourceCampus", getSourceCampus())
            .append("disCampus", getDisCampus())
            .append("applyStatus", getApplyStatus())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
